import request from '@/utils/request'


export function fetchSupplierList(query) {
  return request({
    url: '/content/listsuppliers',
    method: 'post',
    data: query
  })
}


export function addSupplier(query) {
  return request({
    url: '/content/addsupplier',
    method: 'post',
    data: query
  })
}


export function modifySupplier(query) {
  return request({
    url: '/content/modifysupplier',
    method: 'post',
    data: query
  })
}


export function deleteSupplier(query) {
  return request({
    url: '/content/deletesupplier',
    method: 'post',
    data: query
  })
}
